<?php

// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;
Route::rule('api/:version/index', 'api/:version.app/index');
Route::rule('api/:version/detail', 'api/:version.app/detail');
Route::rule('api/:version/lists', 'api/:version.app/lists');
Route::rule('api/:version/nearShop', 'api/:version.app/nearShop');
Route::rule('api/:version/collectShop', 'api/:version.app/collectShop');
Route::rule('api/:version/shopComment', 'api/:version.app/shopComment');
Route::rule('api/:version/members', 'api/:version.member/index');
Route::rule('api/:version/joinvip', 'api/:version.member/joinvip');
Route::rule('api/:version/addjoinvip', 'api/:version.member/addjoinvip');
Route::rule('api/:version/complaint', 'api/:version.member/complaint');
Route::rule('api/:version/getaboutus', 'api/:version.member/getaboutus');
Route::rule('api/:version/getCheckShop', 'api/:version.member/getCheckShop');
Route::rule('api/:version/mycodelist', 'api/:version.member/getMyCodeList');
Route::rule('api/:version/mycodelistNew', 'api/:version.member/getMyCodeListNew');
Route::rule('api/:version/register', 'api/:version.user/register');
Route::rule('api/:version/login', 'api/:version.user/login');
Route::rule('api/:version/mobilelogin', 'api/:version.user/mobilelogin');
Route::rule('api/:version/qrcodet', 'api/:version.user/qrcodet');
Route::rule('api/:version/resetpwd', 'api/:version.user/resetpwd');
Route::rule('api/:version/orderlist', 'api/:version.Storeorder/orderlist');
Route::rule('api/:version/mycode', 'api/:version.member/mycode');
Route::rule('api/:version/initcode', 'api/:version.member/initcode');
Route::rule('api/:version/registerstore', 'api/:version.member/registerStoreShop');
Route::rule('api/:version/getShop', 'api/:version.member/getShop');
Route::rule('api/:version/updatemyinfo', 'api/:version.member/updateMyInfo');
Route::rule('api/:version/storeaddress', 'api/:version.Store/storeaddress');
Route::rule('api/:version/createaddress', 'api/:version.Store/createAddress');
Route::rule('api/:version/getAddress', 'api/:version.Store/getAddress');
Route::rule('api/:version/edite', 'api/:version.Store/edite');
Route::rule('api/:version/createmybank', 'api/:version.member/createMyBank');
Route::rule('api/:version/banklist', 'api/:version.member/myBankList');
Route::rule('api/:version/joinproxy', 'api/:version.member/joinProxy');
Route::rule('api/:version/getproxy', 'api/:version.order/getproxy');
Route::rule('api/:version/about', 'api/:version.member/getAbout');
Route::rule('api/:version/mycollectstore', 'api/:version.member/myCollectStore');
Route::rule('api/:version/myorder', 'api/:version.order/myOrder');
Route::rule('api/:version/comment', 'api/:version.order/comment');
Route::rule('api/:version/ShopOrder', 'api/:version.order/ShopOrder');
Route::rule('api/:version/gettokeninfo', 'api/:version.member/getTokenInfo');
Route::rule('api/:version/IsProxy', 'api/:version.member/IsProxy');
Route::rule('api/:version/temp', 'api/:version.Config/temp');
Route::rule('api/:version/commoninfo', 'api/:version.Config/commonInfo');
Route::rule('api/:version/getProvince', 'api/:version.Config/getProvince');
Route::rule('api/:version/getcategory', 'api/:version.Config/getcategory');
Route::rule('api/:version/getarea', 'api/:version.Config/getAreaInfo');
Route::rule('api/:version/getBank', 'api/:version.Config/getBank');
Route::rule('api/:version/cleararea', 'api/:version.Config/clearArea');
Route::rule('api/:version/myinfo', 'api/:version.member/getMyInfo');
Route::rule('api/:version/getmycreatecode', 'api/:version.member/getMyCreateCode');
Route::rule('api/:version/getdeposit', 'api/:version.UserMoneyLog/getDeposit');
Route::rule('api/:version/financial', 'api/:version.UserMoneyLog/financial');
Route::rule('api/:version/mymoney', 'api/:version.UserMoneyLog/MyMoney');
Route::rule('api/:version/mymoneydetail', 'api/:version.UserMoneyLog/AccountDetail');
Route::rule('api/:version/redmaple', 'api/:version.UserMoneyLog/myRedMaple');
Route::rule('api/:version/myponitinfo', 'api/:version.UserMoneyLog/myPonit');
Route::rule('api/:version/myintegral', 'api/:version.UserMoneyLog/myUserIntegral');

return [
    //别名配置,别名只能是映射到控制器且访问时必须加上请求的方法
    '__alias__'   => [
    ],
    //变量规则
    '__pattern__' => [
    ],
//        域名绑定到模块
//        '__domain__'  => [
//            'admin' => 'admin',
//            'api'   => 'api',
//        ],
];
